package com.yidu.t299.domain.twj;

import java.io.Serializable;
import java.util.List;

/**
 * 角色表实体类
 */
public class SysRole implements Serializable {
    private Integer roleId;

    private String roleName;

    private String roleDesc;

    private Integer roleFlag;

    /*
     * 关联属性：记录当前角色的相关权限编号列表
     */
    private List<String> rightCodeList;

    private static final long serialVersionUID = 1L;

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public String getRoleDesc() {
        return roleDesc;
    }

    public void setRoleDesc(String roleDesc) {
        this.roleDesc = roleDesc == null ? null : roleDesc.trim();
    }

    public Integer getRoleFlag() {
        return roleFlag;
    }

    public void setRoleFlag(Integer roleFlag) {
        this.roleFlag = roleFlag;
    }

    public List<String> getRightCodeList() {
        return rightCodeList;
    }

    public void setRightCodeList(List<String> rightCodeList) {
        this.rightCodeList = rightCodeList;
    }
}